package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 肖守凯
 * @since 2020-08-24
 */
@TableName("wechat_wanted")
@ApiModel(value="WechatWanted对象", description="")
public class WechatWanted extends Model<WechatWanted> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "求职意向ID")
    @TableId(value = "wanted_id", type = IdType.AUTO)
    private Integer wantedId;

    @ApiModelProperty(value = "期望职位")
    @TableField("wanted_name_id")
    private String wantedNameId;

    @ApiModelProperty(value = "期望薪资")
    @TableField("wanted_salary")
    private String wantedSalary;

    @ApiModelProperty(value = "城市名字")
    @TableField("wanted_city")
    private String wantedCity;

    public Integer getWantedId() {
        return wantedId;
    }

    public void setWantedId(Integer wantedId) {
        this.wantedId = wantedId;
    }
    public String getWantedNameId() {
        return wantedNameId;
    }

    public void setWantedNameId(String wantedNameId) {
        this.wantedNameId = wantedNameId;
    }
    public String getWantedSalary() {
        return wantedSalary;
    }

    public void setWantedSalary(String wantedSalary) {
        this.wantedSalary = wantedSalary;
    }
    public String getWantedCity() {
        return wantedCity;
    }

    public void setWantedCity(String wantedCity) {
        this.wantedCity = wantedCity;
    }

    @Override
    protected Serializable pkVal() {
        return this.wantedId;
    }

    @Override
    public String toString() {
        return "WechatWanted{" +
            "wantedId=" + wantedId +
            ", wantedNameId=" + wantedNameId +
            ", wantedSalary=" + wantedSalary +
            ", wantedCity=" + wantedCity +
        "}";
    }
}
